home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group94a.txt / 000201_icon-group-sender _Tue Aug 9 09:46:06 1994.msg < prev    next >
Internet Message Format  |  1994-08-19  |  1KB

  1. Received: by cheltenham.cs.arizona.edu; Tue, 9 Aug 1994 16:08:33 MST
  2. Date: Tue, 9 Aug 1994 09:46:06 -0600 (CST)
  3. From: Gustavo Cavazos <gcavazos@fermat.rzs.itesm.mx>
  4. Subject: Handling files...
  5. To: Group Icon Project <icon-group@cs.arizona.edu>,
  6.         icon-group-l@cs.arizona.edu
  7. Message-Id: <Pine.3.89.9408090908.C29968-0100000@fermat.rzs.itesm.mx>
  8. Mime-Version: 1.0
  9. Content-Type: TEXT/PLAIN; charset=US-ASCII
  10. Status: R
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12.  
  13. How does one write a record to file? Is this possible?
  14. form example:
  15.    record x(type1,type2,type3)
  16.  
  17.    data1:=x("string1",2.3,"hello")
  18.    write(file,data1)
  19.  
  20. If not, is there any way to write a table or to that matter any other 
  21. data structure to a file, instead of writing item, by item.    
  22.  
  23. Saludos,
  24. +Gus
  25. ===============                                     =========
  26. Gustavo Cavazos                                     ITESM-CEM
  27. gcavazos@fermat.rzs.itesm.mx          
  28. gcavazos@itesmvf1.rzs.itesm.mx                        "   "
  29.  
  30.